package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the report_column_source_tbl database table.
 * 
 */
@Entity
@Table(name="report_column_source_tbl")
public class ReportColumnSource extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="RPRT_COL_SRC_CODE")
	private int rprtColSrcCode;

	@Column(name="SRC_TBL")
	private String srcTbl;

	@Column(name="SRC_TBL_COL")
	private String srcTblCol;

	@Column(name="SRC_TBL_COL_COMP")
	private String srcTblColComp;

	//bi-directional many-to-one association to ReportColumn
	@ManyToOne
	@JoinColumn(name="RPRT_COL_CODE")
	private ReportColumn reportColumn;

	public ReportColumnSource() {
	}

	public int getRprtColSrcCode() {
		return this.rprtColSrcCode;
	}

	public void setRprtColSrcCode(int rprtColSrcCode) {
		this.rprtColSrcCode = rprtColSrcCode;
	}

	public String getSrcTbl() {
		return this.srcTbl;
	}

	public void setSrcTbl(String srcTbl) {
		this.srcTbl = srcTbl;
	}

	public String getSrcTblCol() {
		return this.srcTblCol;
	}

	public void setSrcTblCol(String srcTblCol) {
		this.srcTblCol = srcTblCol;
	}

	public String getSrcTblColComp() {
		return this.srcTblColComp;
	}

	public void setSrcTblColComp(String srcTblColComp) {
		this.srcTblColComp = srcTblColComp;
	}

	public ReportColumn getReportColumn() {
		return this.reportColumn;
	}

	public void setReportColumn(ReportColumn reportColumn) {
		this.reportColumn = reportColumn;
	}

}